Skip to main content

adLoaded

Type​

message

Summary​

Sent when an ad had loaded (or reloaded).

Syntax​

adLoaded <pAdName>, <pDefault>

Description​

Handle the adLoaded message if you want to perform an action when an ad finishes loading.

The adLoaded message is sent to the object that created the ad when the ad has loaded, or reloaded.

Parameters​

NameTypeDescription

pAdName

The name of ad that has loaded (as specified in mobileAdCreate)

pDefault

bool

True or false, specifying if the loaded ad is a default ad.

Examples​

on adLoaded pAd
enable button "move next"
end adLoaded

command: mobileAdCreate, mobileAdDelete, mobileAdSetVisible, mobileAdSetTopLeft, mobileAdRegister

function: mobileAdGetTopLeft, mobileAdGetVisible

message: adClicked, adLoadFailed

Compatibility and Support​

Introduced

LiveCode 5.5

OS

ios

android

Platforms

mobile

Thank you for your feedback!

Was this page helpful?